import React from 'react';
import { Button } from 'antd';
import CancelModal from './CancelModal';

export default function CancelOrderCom(props) {
  const { orderId } = props;
  return (
    <div>
      <p style={{ fontSize: 20 }}>商品已拍下，等待买家付款</p>
      <p style={{ fontSize: 12 }}>如买家未在【倒计时】秒内付款，订单将按照设置逾期自定关闭</p>
      <div>
        <Button type='link'>改价</Button>
        <CancelModal orderId={orderId}>取消订单</CancelModal>
      </div>
    </div>
  );
}
